﻿using System;
using System.Collections.Generic;

namespace Database.ERPNext
{
    public partial class tabWork_Order
    {
        public string name { get; set; } = null!;
        public DateTime? creation { get; set; }
        public DateTime? modified { get; set; }
        public string? modified_by { get; set; }
        public string? owner { get; set; }
        public int docstatus { get; set; }
        public int idx { get; set; }
        public string? naming_series { get; set; }
        public string? status { get; set; }
        public string? production_item { get; set; }
        public string? item_name { get; set; }
        public string? image { get; set; }
        public string? bom_no { get; set; }
        public string? sales_order { get; set; }
        public string? company { get; set; }
        public decimal qty { get; set; }
        public decimal material_transferred_for_manufacturing { get; set; }
        public decimal produced_qty { get; set; }
        public decimal process_loss_qty { get; set; }
        public string? project { get; set; }
        public int allow_alternative_item { get; set; }
        public int use_multi_level_bom { get; set; }
        public int skip_transfer { get; set; }
        public int from_wip_warehouse { get; set; }
        public int update_consumed_material_cost_in_project { get; set; }
        public string? source_warehouse { get; set; }
        public string? wip_warehouse { get; set; }
        public string? fg_warehouse { get; set; }
        public string? scrap_warehouse { get; set; }
        public int has_serial_no { get; set; }
        public int has_batch_no { get; set; }
        public string? serial_no { get; set; }
        public decimal batch_size { get; set; }
        public string? transfer_material_against { get; set; }
        public DateTime? planned_start_date { get; set; }
        public DateTime? planned_end_date { get; set; }
        public DateOnly? expected_delivery_date { get; set; }
        public DateTime? actual_start_date { get; set; }
        public DateTime? actual_end_date { get; set; }
        public decimal lead_time { get; set; }
        public decimal planned_operating_cost { get; set; }
        public decimal actual_operating_cost { get; set; }
        public decimal additional_operating_cost { get; set; }
        public decimal corrective_operation_cost { get; set; }
        public decimal total_operating_cost { get; set; }
        public string? description { get; set; }
        public string? stock_uom { get; set; }
        public string? material_request { get; set; }
        public string? material_request_item { get; set; }
        public string? sales_order_item { get; set; }
        public string? production_plan { get; set; }
        public string? production_plan_item { get; set; }
        public string? production_plan_sub_assembly_item { get; set; }
        public string? product_bundle_item { get; set; }
        public string? amended_from { get; set; }
        public string? _user_tags { get; set; }
        public string? _comments { get; set; }
        public string? _assign { get; set; }
        public string? _liked_by { get; set; }
        public string? _seen { get; set; }
    }
}
